<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="Cache-Control" content="no-cache"/>
    <title>${dir}</title>
    <style type="text/css">
        a {
            color: black;
            text-decoration: none;
        }
        a.dir {
            color: green;
        }
        a:hover {
            color: red;
            text-decoration: underline;
        }
    </style>
</head>
<body>
<center>
    ${dir}
</center>
<hr/>
<ul w:="!isRoot">
    <li>
        <a href="/">根目录</a>
    </li>
    <li>
        <a href="#{parentPath}">上一级</a>
    </li>
</ul>
<ol>
    <li w:file="files">
        <a href="${file.name}" w:="!file.isDirectory()" title="${file}">${file.name}</a>
        <a href="${file.name}/" w:="file.isDirectory()" title="${file}" class="dir">${file.name}/</a>
    </li>
</ol>
</body>
</html>